package OperationsBD;

import java.awt.Image;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.sql.Timestamp;
import java.util.*;

public class Client {

	private int idClient;

	private String nom;

	private String prenom;

	private String pseudo;

	private String motDePasse;

	// private Image avatar;

	private boolean statutConnecte;

	private Date dateCreation;

	private Date dateDerniereModif;

	private PreparedStatement stmtExiste;
	private PreparedStatement stmtInsert;
	private PreparedStatement stmtUpdateStatut;
	
	
	public int getIdClient(String pseudo) {
		return idClient;
	}

	public void setIdClient(int newIdClient) {
		idClient = newIdClient;
	}

	public String getNom() {
		return nom;
	}

	public void setNom(String newNom) {
		nom = newNom;
	}

	public String getPrenom() {
		return prenom;
	}

	public void setPrenom(String newPrenom) {
		prenom = newPrenom;
	}

	public String getPseudo() {
		return pseudo;
	}

	public void setPseudo(String newPseudo) {
		pseudo = newPseudo;
	}

	public String getMotDePasse() {
		return motDePasse;
	}

	public void setMotDePasse(String newMotDePasse) {
		motDePasse = newMotDePasse;
	}
}